<!doctype html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport"
        content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Gird Layout Demo</title>

  <link rel="stylesheet" href="common.css">
</head>
<style>

  .container {
    height: 300px;
    display: grid;
    grid-template-columns: 100px 50px 100px;
    grid-template-rows: 80px auto 80px;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    /*grid-gap: 10px 10px;*/
    /*gap: 10px 10px;*/
  }

</style>
<body>

  <div class="container">
    <div class="item yellow"></div>
    <div class="item blue"></div>
    <div class="item red"></div>
    <div class="item green"></div>
    <div class="item yellow"></div>
    <div class="item blue"></div>
    <div class="item red"></div>
    <div class="item green"></div>
    <div class="item yellow"></div>
  </div>
</body>
</html>
